package com.lr.service;


import com.lr.entity.Collect;
import com.lr.entity.JobHuntingLog;
import com.lr.entity.Recruit;
import com.lr.entity.Resume;

import javax.servlet.ServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface GRService {

    public Integer Register(String userName,String password,String phone);
    public String login(String phone, String password, String code, HttpSession session);
    public Map logInfo(String userJSON);
    public Integer upPublic(String token,Integer ispublic);
    public Resume getResume(String token);
    public Integer updateResume(Resume resume);
    public List<Recruit> searchRecruit(Recruit recruit);
    public Integer addCollect(String userJSON, String recruitIds);
    public Integer addRecruitResume(String userJSON,String recruitIds);
    public Recruit getRecruitById(Integer id);
    public List<Collect> getCollect(String userJSON);
    public Integer delCollect(Integer id);
    public List<JobHuntingLog> getJobHuntingLog(String userJSON);
    public Integer delLog(Integer id);
}
